AM_CPPFLAGS = \
	-I../include -I$(top_srcdir)/include \
	-I../common -I$(top_srcdir)/common \
	@LIBCERROR_CPPFLAGS@ \
	@LIBCLOCALE_CPPFLAGS@ \
	@LIBCNOTIFY_CPPFLAGS@ \
	@LIBUNA_CPPFLAGS@ \
	@LIBCFILE_DLL_IMPORT@

TESTS = \
	test_library.sh

check_SCRIPTS = \
	test_library.sh \
	test_manpage.sh \
	test_runner.sh

input_FILES = \
	input/set1/block_size_file \
	input/set1/empty_file \
	input/set1/small_file

EXTRA_DIST = \
	$(check_SCRIPTS) \
	$(input_FILES)

check_PROGRAMS = \
	cfile_test_error \
	cfile_test_file \
	cfile_test_notify \
	cfile_test_support \
	cfile_test_system_string \
	cfile_test_winapi

cfile_test_error_SOURCES = \
	cfile_test_error.c \
	cfile_test_libcfile.h \
	cfile_test_macros.h \
	cfile_test_unused.h

cfile_test_error_LDADD = \
	../libcfile/libcfile.la

cfile_test_file_SOURCES = \
	cfile_test_file.c \
	cfile_test_functions.c cfile_test_functions.h \
	cfile_test_getopt.c cfile_test_getopt.h \
	cfile_test_libcerror.h \
	cfile_test_libcfile.h \
	cfile_test_libclocale.h \
	cfile_test_libcnotify.h \
	cfile_test_libuna.h \
	cfile_test_macros.h \
	cfile_test_memory.c cfile_test_memory.h

cfile_test_file_LDADD = \
	@LIBUNA_LIBADD@ \
	@LIBCNOTIFY_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	../libcfile/libcfile.la \
	@LIBCERROR_LIBADD@

cfile_test_notify_SOURCES = \
	cfile_test_libcerror.h \
	cfile_test_libcfile.h \
	cfile_test_macros.h \
	cfile_test_notify.c \
	cfile_test_unused.h

cfile_test_notify_LDADD = \
	../libcfile/libcfile.la \
	@LIBCERROR_LIBADD@

cfile_test_support_SOURCES = \
	cfile_test_functions.c cfile_test_functions.h \
	cfile_test_libcerror.h \
	cfile_test_libcfile.h \
	cfile_test_macros.h \
	cfile_test_support.c \
	cfile_test_unused.h

cfile_test_support_LDADD = \
	@LIBUNA_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	../libcfile/libcfile.la \
	@LIBCERROR_LIBADD@

cfile_test_system_string_SOURCES = \
	cfile_test_libcerror.h \
	cfile_test_libcfile.h \
	cfile_test_macros.h \
	cfile_test_system_string.c \
	cfile_test_unused.h

cfile_test_system_string_LDADD = \
	../libcfile/libcfile.la \
	@LIBCERROR_LIBADD@

cfile_test_winapi_SOURCES = \
	cfile_test_libcfile.h \
	cfile_test_macros.h \
	cfile_test_unused.h \
	cfile_test_winapi.c

cfile_test_winapi_LDADD = \
	../libcfile/libcfile.la

DISTCLEANFILES = \
	Makefile \
	Makefile.in \
	notify_stream.log \
	TestFile

